Platform Explorer / Nuxeo Platform 2023.23

Component com.nuxeo.aspera.connector.pageproviders.contrib

Resolution Order

56
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="com.nuxeo.aspera.connector.pageproviders.contrib">
  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers">
    <genericPageProvider name="aspera_folderish_suggestion" class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider">
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType = 'Folderish'
        AND ecm:mixinType NOT IN ('SystemDocument', 'HiddenInNavigation') AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      </pattern>
    </genericPageProvider>
    <genericPageProvider name="aspera_transfers_list" class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider">
      <searchDocumentType>AsperaSearch</searchDocumentType>
        <whereClause>
          <fixedPart>
            ecm:primaryType IN ('Transfer')
            AND ecm:isVersion = 0
            AND ecm:isTrashed = 0
          </fixedPart>
        </whereClause>
      <aggregates>
        <aggregate id="ecm_currentLifeCycleState_agg" type="terms" parameter="ecm:currentLifeCycleState">
          <field schema="aspera_search" name="ecm_currentLifeCycleState_agg" />
        </aggregate>
      </aggregates>
      <sort column="dc:modified" ascending="false" />
      <quickFilters>
        <quickFilter name="download">
          <clause>ca:type = 'download'</clause>
        </quickFilter>
        <quickFilter name="upload">
          <clause>ca:type = 'upload'</clause>
        </quickFilter>
      </quickFilters>
      <pageSize>10</pageSize>
    </genericPageProvider>
  </extension>
</component>